body,a{
	color:white;
	background-color:black;
	margin: 0;
	padding: 0;
/* 	border:1px green solid; */
}
a{
	background-color: transparent;
}
.cad{
/* 	width:1245px;
	height:auto; */
	padding: 0;
	margin: 0;
}
.cad #canvas{
	/*1245*0.618*/
	height:480px;
	margin: 0;
	padding: 0;
	/* border:1px silver outset; */
	position: relative;
	top:0;
	left:0;
	cursor:crosshair;
}
.cad #canvas canvas{
	width: 100%;
	height:90%;
	position:absolute;
	top: 0;
}
.cad .control{
	border: 2px #040477 outset;
	padding: 0;
	overflow:hidden;
}
.cad .control:hover{
	overflow:auto;
}
.cad .control div{
	margin-bottom: 8px;
	/* width:auto; */
}
.cad .control div h4{
	padding:2px;
	background-color:rgba(4,4,119,0.7);
	color: #C63;
	margin-top:0;
	margin-bottom: 5px;
}
#crd{
	display:inline-block;
	overflow:visible;
}
#scale{
	background: red;
}